﻿using System.Collections.Generic;


namespace BariumLiveAPIClient
{
	public class AccountEntity
	{
		public string Name { get; set; }
		public string SecurityId { get; set; }
	}

	
	public class JsonResultEntity<TModel>
	{
		public int TotalCount { get; set; }
		public List<TModel> Data { get; set; }
	}


	public class ObjectEntity
	{
		public string Id { get; set; }
		public string ReferenceId { get; set; }
		public string ObjectClass { get; set; }
		public string TypeNamespace { get; set; }
		public string TemplateID { get; set; }
		public string Name { get; set; }
		public string Description { get; set; }
		public List<ObjectProperty> Properties { get; set; }
	}


	public class ObjectProperty
	{
		public string Name { get; set; }
		public string Value { get; set; }
		public bool ReadOnly { get; set; }
	}
}